﻿using ST.Torch.WebApi.Core.Entities.DaTi;
using MiniExcelLibs.Attributes;

namespace ST.Torch.WebApi.Application.DaTi.Dtos
{
    public class D_GiftDto
    {

        
        /// <summary>
        /// 礼品名称
        /// </summary>
        [ExcelColumnName("礼品名称")]
        public string Name { get; set; }
        
        /// <summary>
        /// 礼品图片
        /// </summary>
        [ExcelColumnName("礼品图片")]
        public string GiftImgUrl { get; set; }
        
        /// <summary>
        /// 礼品数量
        /// </summary>
        [ExcelColumnName("礼品数量")]
        public int Number { get; set; }
        
        /// <summary>
        /// 剩余数量
        /// </summary>
        [ExcelColumnName("剩余数量")]
        public int RemainingNumber { get; set; }
        
        
    }
    public class D_GiftListDto : D_GiftDto
    {
        public Guid Id { get; set; }

        public DateTime? CreateTime { get; set; }

        public DateTime? UpdateTime { get; set; }

    }
}
